package com.tdkj.model.information;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;
import com.tdkj.model.user.BeanUser;

/**
 * XnkyArticleComment entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "information_info_reply")
public class BeanInfoReply extends BaseEntity implements java.io.Serializable {
	private String content;
	private BeanUser user;
	private Timestamp createtime;
	private String status;
	private BeanInfoComment comment;
	
	@Column(name = "content", length = 40)
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	@Column(name = "status", length = 40)
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "userid")
	public BeanUser getUser() {
		return user;
	}
	public void setUser(BeanUser user) {
		this.user = user;
	}
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "commentid")
	public BeanInfoComment getComment() {
		return comment;
	}
	public void setComment(BeanInfoComment comment) {
		this.comment = comment;
	}
	@Column(name = "createtime", length = 19)
	public Timestamp getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}
	
	

}